module.exports = {
    base:'/',
    head: [['link', {
        rel: 'icon',
        type: 'image/png',
        sizes: '16x16',
        href: '/hero.png'
    }]],
      locales: {
    '/': {
      lang: 'en-US',
      title: 'VuePress',
      description: 'Vue-powered Static Site Generator',
    },
    '/zh/': {
      lang: 'zh-CN',
      title: 'VuePress',
      description: 'Vue 驱动的静态网站生成器',
    },
  },
    themeConfig: {
        docsDir: 'docs',
        locales: {
            "/": {
                navbar:[],
                sidebar:[]
            },
            '/zh/': {
                navbar: [],
                sidebar: [],
                selectLanguageName: '简体中文',
                selectLanguageText: '选择语言',
                selectLanguageAriaLabel: '选择语言',
                backToHome: '返回首页',
                // 404 page
                notFound: [
                    '这里什么都没有',
                    '我们怎么到这来了？',
                    '这是一个 404 页面',
                    '看起来我们进入了错误的链接',
                ],
                // a11y
                openInNewWindow: '在新窗口打开',
                toggleDarkMode: '切换夜间模式',
                toggleSidebar: '切换侧边栏',
            }
        },
    },
    plugins: [
        [
            "@vuepress/plugin-search",
            {
                locales: {
                    '/': {
                        placeholder: 'Search',
                    },
                    "/zh/": {
                        placeholder: '搜索'
                    }
                }
            }
        ]
    ]
}